Optimal. Leaf size=34 \[ \frac {\sinh (c+d x)}{b d}-\frac {a \log (a+b \sinh (c+d x))}{b^2 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.06, antiderivative size = 34, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.120, Rules used = {2833, 12, 43} \[ \frac {\sinh (c+d x)}{b d}-\frac {a \log (a+b \sinh (c+d x))}{b^2 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 43
Rule 2833
Rubi steps
\begin {align*} \int \frac {\cosh (c+d x) \sinh (c+d x)}{a+b \sinh (c+d x)} \, dx &=\frac {\operatorname {Subst}\left (\int \frac {x}{b (a+x)} \, dx,x,b \sinh (c+d x)\right )}{b d}\\ &=\frac {\operatorname {Subst}\left (\int \frac {x}{a+x} \, dx,x,b \sinh (c+d x)\right )}{b^2 d}\\ &=\frac {\operatorname {Subst}\left (\int \left (1-\frac {a}{a+x}\right ) \, dx,x,b \sinh (c+d x)\right )}{b^2 d}\\ &=-\frac {a \log (a+b \sinh (c+d x))}{b^2 d}+\frac {\sinh (c+d x)}{b d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.04, size = 33, normalized size = 0.97 \[ -\frac {\frac {a \log (a+b \sinh (c+d x))}{b^2}-\frac {\sinh (c+d x)}{b}}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.49, size = 132, normalized size = 3.88 \[ \frac {2 \, a d x \cosh \left (d x + c\right ) + b \cosh \left (d x + c\right )^{2} + b \sinh \left (d x + c\right )^{2} - 2 \, {\left (a \cosh \left (d x + c\right ) + a \sinh \left (d x + c\right )\right )} \log \left (\frac {2 \, {\left (b \sinh \left (d x + c\right ) + a\right )}}{\cosh \left (d x + c\right ) - \sinh \left (d x + c\right )}\right ) + 2 \, {\left (a d x + b \cosh \left (d x + c\right )\right )} \sinh \left (d x + c\right ) - b}{2 \, {\left (b^{2} d \cosh \left (d x + c\right ) + b^{2} d \sinh \left (d x + c\right )\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.24, size = 60, normalized size = 1.76 \[ \frac {\frac {e^{\left (d x + c\right )} - e^{\left (-d x - c\right )}}{b} - \frac {2 \, a \log \left ({\left | b {\left (e^{\left (d x + c\right )} - e^{\left (-d x - c\right )}\right )} + 2 \, a \right |}\right )}{b^{2}}}{2 \, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.03, size = 35, normalized size = 1.03 \[ -\frac {a \ln \left (a +b \sinh \left (d x +c \right )\right )}{b^{2} d}+\frac {\sinh \left (d x +c \right )}{b d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.35, size = 83, normalized size = 2.44 \[ -\frac {{\left (d x + c\right )} a}{b^{2} d} + \frac {e^{\left (d x + c\right )}}{2 \, b d} - \frac {e^{\left (-d x - c\right )}}{2 \, b d} - \frac {a \log \left (-2 \, a e^{\left (-d x - c\right )} + b e^{\left (-2 \, d x - 2 \, c\right )} - b\right )}{b^{2} d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.07, size = 31, normalized size = 0.91 \[ -\frac {a\,\ln \left (a+b\,\mathrm {sinh}\left (c+d\,x\right )\right )-b\,\mathrm {sinh}\left (c+d\,x\right )}{b^2\,d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.99, size = 65, normalized size = 1.91 \[ \begin {cases} \frac {x \sinh {\relax (c )} \cosh {\relax (c )}}{a} & \text {for}\: b = 0 \wedge d = 0 \\\frac {\cosh ^{2}{\left (c + d x \right )}}{2 a d} & \text {for}\: b = 0 \\\frac {x \sinh {\relax (c )} \cosh {\relax (c )}}{a + b \sinh {\relax (c )}} & \text {for}\: d = 0 \\- \frac {a \log {\left (\frac {a}{b} + \sinh {\left (c + d x \right )} \right )}}{b^{2} d} + \frac {\sinh {\left (c + d x \right )}}{b d} & \text {otherwise} \end {cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________